package A20180308;

import A20180306.Point;

public class TestRectangle {
	public static void main(String[] args) {
		Point p = new Point(5, 6);
		Rectangle3 r = new Rectangle3(20, 10, p);
		System.out.println(r.getArea());
		r.move(-1, -1);
		System.out.println(r.origin.x);
		System.out.println(r.origin.y);
	}
}
